package exception;

import org.junit.Test;

public class TestUsingNPE {

    @Test
    public void testUsingNullPointerException() {
        throw new NullPointerException("Argument must not be null.");
    }

    @Test
    public void testUsingIllegalArgumentException() {
        throw new IllegalArgumentException("Argument must not be null.");
    }
}
